[quartz] Fix typo to call function.
authorJohn Ralls <jralls@ceridwen.us>
Fri, 6 Jan 2023 18:13:02 +0000 (10:13 -0800)
committerJohn Ralls <jralls@ceridwen.us>
Fri, 6 Jan 2023 18:13:02 +0000 (10:13 -0800)
gdk/quartz/gdkevents-quartz.c

index 60e9eaf131eddc50b921b6c2dd8c05bf44249dae..630be6e1c71ead3114c2aca26707fcd8d3e67a09 100644 (file)
@@ -858,7 +858,7 @@ find_window_for_ns_event (NSEvent *nsevent,
        * macOS versions. These trigger 4 pixels out from the window's
        * frame so we obtain that rect and adjust it for hit testing.
        */
-      if (!nsevent.trackingArea && gdk_quartz_osx_version >= GDK_OSX_VENTURA)
+      if (!nsevent.trackingArea && gdk_quartz_osx_version() >= GDK_OSX_VENTURA)
         {
           static const int border_width = 4;
           NSRect frame = nsevent.window.frame;